package com.dlc.shop.bean.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 *
 *
 * @author SJL
 * @date 2020-08-25 15:50:06
 */
@Data
@TableName("tz_supplier")
public class Supplier implements Serializable{
    private static final long serialVersionUID = 1L;

    @TableId
    @Schema(description = "供应商id" )
    private Long supplierId;

    @Schema(description = "店铺id" )
    private Long shopId;

    @Schema(description = "供应商分类id" )
    private Long supplierCategoryId;

    @Schema(description = "供应商名称" )
    private String supplierName;

    @Schema(description = "单位电话" )
    private String tel;

    @Schema(description = "省id" )
    private Long provinceId;

    @Schema(description = "省" )
    private String province;

    @Schema(description = "市id" )
    private Long cityId;

    @Schema(description = "市" )
    private String city;

    @Schema(description = "区id" )
    private Long areaId;

    @Schema(description = "区" )
    private String area;

    @Schema(description = "详细地址" )
    private String addr;

    @Schema(description = "联系人" )
    private String contactName;

    @Schema(description = "联系电话" )
    private String contactTel;

    @Schema(description = "qq号码" )
    private String qqNumber;

    @Schema(description = "微信号" )
    private String wxNumber;

    @Schema(description = "邮箱" )
    private String mail;

    @Schema(description = "传真" )
    private String fax;

    @Schema(description = "创建时间" )
    private Date createTime;

    @Schema(description = "更新时间" )
    private Date updateTime;

    @Schema(description = "状态 0禁用 1启用" )
    private Integer status;

    @Schema(description = "是否为默认供应商" )
    private Integer isDefault;

    @Schema(description = "供应商分类名称" )
    @TableField(exist = false)
    private String categoryName;

}
